POV-Ray : Newsgroups : povray.binaries.images : Late Thursday Abstract : Re: Late Thursday Abstract Server Time
31 Jul 2024 18:25:13 EDT (-0400)
  Re: Late Thursday Abstract  
From: Tek
Date: 29 Sep 2009 14:39:01
Message: <4ac25445@news.povray.org>
"Dre" <and### [at] gmailcom> wrote in message 
news:4ac1379d@news.povray.org...
>
> I'm having a real hard time getting a light box to work correctly, I dont 
> suppose you mind sharing that bit of code?

I needed a light box I could see through from behind so it's a little wierd:

plane {
 z, 0
 clipped_by { box { -1,1 } }
 scale <image_width/image_height,1>*.5+z

 hollow

 texture { pigment { rgb 1 } finish { diffuse 0 ambient 2 } }
 interior_texture { pigment { rgbt 1 } }
}

camera {
    right x*image_width/image_height
    up y
    direction 2*z
    location -2*z
}


-- 
Tek
http://evilsuperbrain.com


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.